package controller;

import view.MainWindow;

public class Main
{
	public static void main(String[] args)
	{
		Controller controller = new Controller(new MainWindow());
		long start = System.currentTimeMillis();
		controller.analyse("source.txt");
		System.out.println(System.currentTimeMillis() - start);
		controller.compress("source.txt", "compressed.txt");
		System.out.println(System.currentTimeMillis() - start);
		controller.decompress("compressed.txt", "");
	}
}
